﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KStubs.Schema
{
    public partial class procedures
    {
        public procedure getProcedure(string ProcedureName)
        {
            var proc = this.procedure.Find(delegate(procedure p) { return p.name == ProcedureName; });
            return proc;        
        }
    }

    public partial class procedure
    {
        public parameter getParameter(string ParameterName)
        {
            var parm = this.parameters.Find(delegate(parameter p) { return p.name == ParameterName; });
            return parm;
        }
    }
}
